package com.pro.springbootshop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pro.springbootshop.entity.Seller;
import org.apache.ibatis.annotations.Select;
import org.mapstruct.Mapper;

@Mapper
public interface SellerMapper extends BaseMapper<Seller> {
    @Select("select * from seller where seller_id=#{sellerId} and seller_pw=#{sellerPw}")
    Seller sellerLogin(String sellerId, String sellerPw);
    @Select("select * from seller where seller_id=#{sellerId}")
    Seller sellerSearch(String sellerId);
}
